<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>

<h1 class="titulo_login" style="color: #444444;
    font-size: 24px;
    font-weight: normal;
    margin: 55px auto -37px;
    position: relative;
    width: 71px;">Login</h1>

<div class="form" style="background:url('<?php echo Yii::app()->request->baseUrl; ?>/themes/hachimaki/imagens/bg5.png')  repeat scroll top center transparent; color: #444444;
    height: 218px;
    margin-left: auto;
    margin-right: auto;
    padding: 65px;
    width: 365px; border: 3px solid #CCCCCC;">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	<p class="note">Compos com <span class="required">*</span> são obrigatórios.</p>

	<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model,'username'); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password'); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>
	<p class="hint" style="color:#444;font-family:Verdana, Geneva, sans-serif; letter-spacing:1px; line-height:4;">
			<!--Ex:<tt>admin/admin</tt>.-->
		</p>
	<div class="row rememberMe" style="position:absolute; margin-left:0px; width:235px; margin-top:18px;">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
		<?php echo $form->error($model,'rememberMe'); ?>
	</div>

	<div class="row buttons" style="margin-top:6px; float:right; width:98px; position:relative;">
		<?php echo CHtml::submitButton('Login'); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
